﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace SetCode
{
    public class BaseTemplate
    {
        private DataTable _items;
        /// <summary>
        /// 数据，表的字段信息
        /// </summary>
        public DataTable Items
        {
            get { return _items; }
            set { _items = value; }
        }

        private string _namespaceStr;
        /// <summary>
        /// 命名空间
        /// </summary>
        public string NamespaceStr
        {
            get { return _namespaceStr; }
            set { _namespaceStr = value; }
        }

        private string _namespace2Str;
        /// <summary>
        /// 二级命名空间
        /// </summary>
        public string Namespace2Str
        {
            get { return _namespace2Str; }
            set { _namespace2Str = value; }
        }

        private string _classnameStr;
        /// <summary>
        /// 页面继承类名称
        /// </summary>
        public string ClassnameStr
        {
            get { return _classnameStr; }
            set { _classnameStr = value; }
        }

        private string _tableName;
        /// <summary>
        /// 表名
        /// </summary>
        public string TableName
        {
            get { return _tableName; }
            set { _tableName = value; }
        }
    }
}
